#ifndef GROUPBYCOLOR_HPP
#define GROUPBYCOLOR_HPP

#include "SwarmAlgorithm.hpp"
#include "ClusterAlgorithm.hpp"
#include <cstdlib>

class GroupByColorAlgorithm: public SwarmAlgorithm {
private:
    static const double offset;

    double rad,
           angle;

    string color;

    std::vector<Robot> robots;
    
public:
    GroupByColorAlgorithm ();
    bool setup();
    void loopBody();
};

#endif
